<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form th:action="@{/addStudent}" th:method="post">
    <input th:type="text" th:name="id" >
    <input th:type="text" th:name="name" >
    <input th:type="submit" th:value="提交">
</form>

</body>
</html>